<template>
  <div class="dog1">
    <img :src="ImgUrl" alt="" />
    <p>{{ Name }}</p>
  </div>
</template>

<script>
export default {
  props: ["ImgUrl", "Name"],
};
</script>

<style scoped>
.dog1 {
  width: 400px;
  border: 1px solid black;
  text-align: center;
  float: left;
}

.dog1 img {
  width: 100%;
  height: 300px;
}
</style>